package com.tsmti.core.common.annotation;

import org.apache.shiro.authz.annotation.Logical;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Title：PimsSystem
 * Class：com.tsmti.core.security.shiro.annotation
 * Comapny:
 *
 * @author：zcw
 * @version：4.0.0
 * CreateTime：2018/1/16 17:06
 * Modify log:
 * Description：
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface RequiresMethodPermissions {
    String[] value();

    Logical logical() default Logical.AND;
}
